﻿using System.ComponentModel.DataAnnotations;

namespace GameStoreMinimalApi.WebApi.Dtos;

public record UpdateGameRequest(
    [Required][StringLength(100)] string Name,
    [Required][StringLength(20)] string Genre,
    [Range(0, 100)] decimal Price,
    DateTime ReleaseDate,
    [Url][StringLength(100)] string ImageUri
);
